package com.example.clxy.service;

import com.example.clxy.entity.Semester;
import com.example.clxy.result.PageResult;
import com.example.clxy.result.WebRestResult;
import com.example.clxy.result.business.PageResult.SemesterPageResult;
import com.example.clxy.result.business.SemesterResult;
import com.example.clxy.result.business.SemesterResult2;

import java.util.Map;

/**
 * @Author liuhaoqi
 * @Date 2020/8/3 21:52
 * @Version 1.0
 */
public interface SemesterService {
    PageResult<SemesterPageResult> getSemesterList(String semestername, int page, int pagesize);

    WebRestResult addSemester(Semester semester);

    WebRestResult updateSemester(Semester semester);

    WebRestResult deleteSemester(String semesterid);

    SemesterResult getSemesterById(String semesterid);

    SemesterResult getSemesterByDate(String date);

    SemesterResult2 getSemesterById2(String semesterid);
}
